package is.api.demo.rest.core;

import java.io.Serializable;

/**
 * 公共请求头
 *
 * @author wei.tang
 */
public class HttpRequestBody implements Serializable {

    private static final long serialVersionUID = -6634653494662614388L;
    // 用户名
    private String loginid;
    // 密码
    private String password;
    // 请求体
    private Object data;
    // 区域编码
    private String regioncode;
    // usbKey
    private String key;
    // 加密需要验证的签名
    private String signature;
    // 时间戳
    private String timestamp;
    // 随机数
    private String nonce;
    //接口号
    private String apiKey;
    // base64编码后的字符串
    // loginid:password:timestamp
    private String authenticationKey;

    public String getApiKey() {
        return apiKey;
    }

    public void setApiKey(String apiKey) {
        this.apiKey = apiKey;
    }

    public String getAuthenticationKey() {
        return authenticationKey;
    }

    public void setAuthenticationKey(String authenticationKey) {
        this.authenticationKey = authenticationKey;
    }

    public String getLoginid() {
        return loginid;
    }

    public void setLoginid(String loginid) {
        this.loginid = loginid;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getRegioncode() {
        return regioncode;
    }

    public void setRegioncode(String regioncode) {
        this.regioncode = regioncode;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public String getNonce() {
        return nonce;
    }

    public void setNonce(String nonce) {
        this.nonce = nonce;
    }
}
